Home
last modified time | relevance | path

Searched hist:"4 e140f59d285c1ca1e5c81b4c13e27366865bd09" (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dhighmem-internal.hdiff 4e140f59d285c1ca1e5c81b4c13e27366865bd09 Tue Jan 11 00:15:27 CET 2022 Matthew Wilcox (Oracle) <willy@infradead.org> mm/usercopy: Check kmap addresses properly

If you are copying to an address in the kmap region, you may not copy
across a page boundary, no matter what the size of the underlying
allocation. You can't kmap() a slab page because slab pages always
come from low memory.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220110231530.665970-2-willy@infradead.org
/linux/arch/x86/include/asm/
H A Dhighmem.hdiff 4e140f59d285c1ca1e5c81b4c13e27366865bd09 Tue Jan 11 00:15:27 CET 2022 Matthew Wilcox (Oracle) <willy@infradead.org> mm/usercopy: Check kmap addresses properly

If you are copying to an address in the kmap region, you may not copy
across a page boundary, no matter what the size of the underlying
allocation. You can't kmap() a slab page because slab pages always
come from low memory.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220110231530.665970-2-willy@infradead.org
/linux/mm/
H A Dusercopy.cdiff 4e140f59d285c1ca1e5c81b4c13e27366865bd09 Tue Jan 11 00:15:27 CET 2022 Matthew Wilcox (Oracle) <willy@infradead.org> mm/usercopy: Check kmap addresses properly

If you are copying to an address in the kmap region, you may not copy
across a page boundary, no matter what the size of the underlying
allocation. You can't kmap() a slab page because slab pages always
come from low memory.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220110231530.665970-2-willy@infradead.org